package example;

public class Item {
  String name;
  Item next;
  public Item(String name) {
    this.name=name;
  }
  public String getName() { return name; }
  public Item getNext() { return next; }
  public void setNext(Item next) {
    this.next=next;
  }
}
